package cn.wolfcode.mapper;

import cn.wolfcode.domain.SystemDictionaryItem;
import cn.wolfcode.query.SystemDictionaryItemQueryObject;

import java.util.List;

public interface SystemDictionaryItemMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SystemDictionaryItem record);

    SystemDictionaryItem selectByPrimaryKey(Long id);

    List<SystemDictionaryItem> selectAll();

    int updateByPrimaryKey(SystemDictionaryItem record);

    //根据分类主表的 ID查询  加上分页功能
    List<SystemDictionaryItem> selectForList(SystemDictionaryItemQueryObject qo);

    List<SystemDictionaryItem> selectParent();

    List<SystemDictionaryItem> selectByTypeId(int i);
}